package com.suluyun.fragment;

import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.suluyun.R;

public class MainListFragment extends Fragment {

    private static MainListFragment single = null;
    public static MainListFragment createInstance(){
        if(single == null){
            single = new MainListFragment();
            return single;
        }else {
            return single;
        }
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.list_fragment,container,false);
        return view;
    }
}
